﻿using System;

namespace Microsoft.Office.PowerPoint.STAMP.Core
{
    /// <summary>
    /// An observer that can be updated with the index of the item currently being worked on.
    /// </summary>
    public interface IProgressObserver : IDisposable
    {
        /// <summary>
        /// Updates the observers current index.
        /// </summary>
        /// <param name="progressIndex">Index of the current completed item progress.</param>
        void Update(int progressIndex);
    }
}